package com.zjl.cms.dao;

import java.util.ArrayList;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.zjl.cms.model.Config;

@Repository("configDao")
public class ConfigDao extends BaseDao{

	@Autowired
	private BaseDao baseDao;


	public List<Config> getAllCongif() {
		List<Config> configList = new ArrayList<Config>();
		configList=baseDao.selectAll("com.zjl.cms.dao.ConfigMapper.selectAll");
		return configList;
	}

	int deleteByPrimaryKey(Long id) {
		return 0;
	}

	int insert(Config record) {
		return 0;
	}

	int insertSelective(Config record) {
		return 0;
	}

	Config selectByPrimaryKey(Long id) {
		return null;
	}

	int updateByPrimaryKeySelective(Config record) {
		return 0;
	}

	int updateByPrimaryKey(Config record) {
		return 0;
	}
}